import request from '../utils/request'

// 导出封装请求登录的接口函数
export const loginApi = ({ mobile, code }) => {
    return request({
        url: '/v1_0/authorizations',
        method: 'post',
        data: { mobile, code }
    })
}